package com.ebring.shareEducation.dao;


import com.ebring.shareEducation.bean.Talent;
import com.ebring.shareEducation.bean.UserAndSkillStatus;
import com.ebring.shareEducation.bean.response.Talentrsg;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;


public interface TalentMapper extends Mapper<Talent> {


    //查询所有人才技能
    List<Talentrsg> selectTalent(@Param("talentId")String talentId,
                                 @Param("industryId")String industryId,
                                 @Param("talentType")String talentType,
                                 @Param("phone")String phone,
                                 @Param("state")String state);
    //查询所有人才技能
    List<Talentrsg> selectPhoneTalent(@Param("talentId")String talentId,
                                      @Param("industryId")String industryId,
                                      @Param("talentType")String talentType);

    //查询所有人才技能
    List<Talent> selectIdTalent(@Param("talent")Talent talent);

    //查询用户和技能状态
    UserAndSkillStatus personalInfoAndSkillsInfoStatus(String userId);
}
